import time
import datetime


def current_timestamp():
    t = time.time()
    return int(round(t * 1000))


def current_time_string():
    return datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')